* net/tramp-sh.el (tramp-sh-handle-start-file-process): Do not
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 10 Feb 2014 10:06:07 +0000 (11:06 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 10 Feb 2014 10:06:07 +0000 (11:06 +0100)
quote `tramp-end-of-heredoc'.

lisp/ChangeLog
lisp/net/tramp-sh.el

index d5ee90420f39963ced6e5c961c6b9d87a797d3f5..2e6ef1feb2db812e6b097358fa2040c05a7d74dd 100644 (file)
@@ -1,3 +1,8 @@
+2014-02-10  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-sh-handle-start-file-process): Do not
+       quote `tramp-end-of-heredoc'.
+
 2014-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * dired.el (dired-get-marked-files): Doc fix (bug#11534).
index 8d3c4c2c58b5627031ec68d64d4e0daa5a4b49ab..2a792d786dfd87ae728ad26939c0bfad20259f92 100644 (file)
@@ -2713,7 +2713,7 @@ the result will be a local, non-Tramp, filename."
            (when (stringp program)
              (format "cd %s && exec %s env PS1=%s %s"
                      (tramp-shell-quote-argument localname)
-                     (if heredoc (format "<<'%s'" tramp-end-of-heredoc) "")
+                     (if heredoc (format "<<%s" tramp-end-of-heredoc) "")
                      ;; Use a human-friendly prompt, for example for `shell'.
                      (tramp-shell-quote-argument
                       (format "%s %s"